/**
 * Copyright &copy; 2016-2017 <a href="http://git.oschina.net/whoamien/backend_management">Backend Management</a> All rights reserved.
 */
package com.xw.framework.vo.acetree;

import java.util.List;
import java.util.Map;

import com.google.common.collect.Lists;
import com.google.common.collect.Maps;

/**
 * The Class AdditionalParameters.
 *
 * @author Xi Wei
 */
public class AdditionalParameters {

	private long id;
	private Map<String,AceTreeItem> children = Maps.newHashMap();
	
	/**
	 * Gets the id.
	 *
	 * @return the id
	 */
	public long getId() {
		return id;
	}
	
	/**
	 * Sets the id.
	 *
	 * @param id the new id
	 */
	public void setId(long id) {
		this.id = id;
	}
	
	/**
	 * Gets the children.
	 *
	 * @return the children
	 */
	public Map<String,AceTreeItem> getChildren() {
		return children;
	}
	
	/**
	 * Sets the children.
	 *
	 * @param children the children
	 */
	public void setChildren(Map<String,AceTreeItem> children) {
		this.children = children;
	}
	
	/**
	 * Adds the ace tree item.
	 *
	 * @param aceTreeItem the ace tree item
	 */
	public void addAceTreeItem(AceTreeItem aceTreeItem){
		children.put(aceTreeItem.getName(),aceTreeItem);
	}
	
}
